<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006-2016 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------
// [ 应用入口文件 ]
//网站地址
define('WEB_URL', 'http://www.duty.com');

//公共资源目录
define('COM_PATH',WEB_URL.'/static/common/');
//PC js目录
define('JS_PATH',WEB_URL.'/static/home/js/');
//PC css目录
define('CSS_PATH',WEB_URL.'/static/home/css/');
//PC images目录
define('IMG_PATH',WEB_URL.'/static/home/images/');


//后台 js目录
define('AJS_PATH',WEB_URL.'/static/admin/js/');
//后台 css目录
define('ACSS_PATH',WEB_URL.'/static/admin/css/');
//后台 images目录
define('AIMG_PATH',WEB_URL.'/static/admin/images/');


//常量定义
define('_SP_', chr(0xFF).chr(0xFE));
define('UCS2', 'ucs-2be');


// [ 应用入口文件 ]

// 定义应用目录
define('APP_PATH', __DIR__ . '/../app/');
// 加载框架引导文件
require __DIR__ . '/../thinkphp/start.php';
